package com.usv.point;

import java.util.Comparator;

public class ComparatorY implements Comparator<Point> {

    @Override
    public int compare(Point p1, Point p2) {
        return p1.getY() - p2.getY();

    }
}
